package com.ruoyi.ncpsy.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 肥料信息对象 ncpsy_fertilizer_info
 * 
 * @author ruoyi
 * @date 2025-08-25
 */
public class NcpsyFertilizerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long fertId;

    /** 肥料名称 */
    @Excel(name = "肥料名称")
    private String fertilizerName;

    /** 肥料种类（字典） */
    @Excel(name = "肥料种类", readConverterExp = "字=典")
    private String fertilizerType;

    /** 主要成分 */
    private String mainComponents;

    /** 生产厂家 */
    private String manufacturer;

    /** 所属用户ID */
    @Excel(name = "所属用户ID")
    private Long userId;

    /** 肥料执行标准 */
    private String executionStandard;

    /** 生产日期 */
    private Date productionDate;

    /** 有效期 */
    private Date validPeriod;

    /** 肥料状态 */
    @Excel(name = "肥料状态")
    private String status;

    /** 肥料登记证号 */
    @Excel(name = "肥料登记证号")
    private String registrationNo;

    public void setFertId(Long fertId) 
    {
        this.fertId = fertId;
    }

    public Long getFertId() 
    {
        return fertId;
    }

    public void setFertilizerName(String fertilizerName) 
    {
        this.fertilizerName = fertilizerName;
    }

    public String getFertilizerName() 
    {
        return fertilizerName;
    }

    public void setFertilizerType(String fertilizerType) 
    {
        this.fertilizerType = fertilizerType;
    }

    public String getFertilizerType() 
    {
        return fertilizerType;
    }

    public void setMainComponents(String mainComponents) 
    {
        this.mainComponents = mainComponents;
    }

    public String getMainComponents() 
    {
        return mainComponents;
    }

    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setExecutionStandard(String executionStandard) 
    {
        this.executionStandard = executionStandard;
    }

    public String getExecutionStandard() 
    {
        return executionStandard;
    }

    public void setProductionDate(Date productionDate) 
    {
        this.productionDate = productionDate;
    }

    public Date getProductionDate() 
    {
        return productionDate;
    }

    public void setValidPeriod(Date validPeriod) 
    {
        this.validPeriod = validPeriod;
    }

    public Date getValidPeriod() 
    {
        return validPeriod;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setRegistrationNo(String registrationNo) 
    {
        this.registrationNo = registrationNo;
    }

    public String getRegistrationNo() 
    {
        return registrationNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fertId", getFertId())
            .append("fertilizerName", getFertilizerName())
            .append("fertilizerType", getFertilizerType())
            .append("mainComponents", getMainComponents())
            .append("manufacturer", getManufacturer())
            .append("userId", getUserId())
            .append("executionStandard", getExecutionStandard())
            .append("productionDate", getProductionDate())
            .append("validPeriod", getValidPeriod())
            .append("status", getStatus())
            .append("registrationNo", getRegistrationNo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
